/*
 * Copyright 2025 NXP
 * NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
 * accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
 * activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
 * comply with and are bound by, such license terms.  If you do not agree to be bound by the applicable license
 * terms, then you may not retain, install, activate or otherwise use the software.
 */

#include "lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
#include "widgets_init.h"
#include "custom.h"

#include <stdio.h>
#include <time.h>

int screen_digital_clock_1_min_value = 25;
int screen_digital_clock_1_hour_value = 11;
int screen_digital_clock_1_sec_value = 50;
char screen_digital_clock_1_meridiem[] = "";

int screen_analog_clock_1_hour_value = 3;
int screen_analog_clock_1_min_value = 20;
int screen_analog_clock_1_sec_value = 50;
void setup_scr_screen(lv_ui *ui)
{
    // Write codes screen
    ui->screen = lv_obj_create(NULL);
    lv_obj_set_size(ui->screen, 800, 480);
    lv_obj_set_scrollbar_mode(ui->screen, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_tabview_1
    ui->screen_tabview_1 = lv_tabview_create(ui->screen);
    lv_obj_set_pos(ui->screen_tabview_1, 0, 0);
    lv_obj_set_size(ui->screen_tabview_1, 800, 480);
    lv_obj_set_scrollbar_mode(ui->screen_tabview_1, LV_SCROLLBAR_MODE_OFF);
    lv_tabview_set_tab_bar_position(ui->screen_tabview_1, LV_DIR_TOP);
    lv_tabview_set_tab_bar_size(ui->screen_tabview_1, 50);

    // Write style for screen_tabview_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_tabview_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_tabview_1, lv_color_hex(0xeaeff3), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_tabview_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_tabview_1, lv_color_hex(0x4d4d4d), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_tabview_1, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_tabview_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_tabview_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_tabview_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_tabview_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_tabview_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_tabview_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_tabview_1_extra_btnm_main_default
    static lv_style_t style_screen_tabview_1_extra_btnm_main_default;
    ui_init_style(&style_screen_tabview_1_extra_btnm_main_default);

    lv_style_set_bg_opa(&style_screen_tabview_1_extra_btnm_main_default, 255);
    lv_style_set_bg_color(&style_screen_tabview_1_extra_btnm_main_default, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_tabview_1_extra_btnm_main_default, LV_GRAD_DIR_NONE);
    lv_style_set_border_width(&style_screen_tabview_1_extra_btnm_main_default, 0);
    lv_style_set_radius(&style_screen_tabview_1_extra_btnm_main_default, 0);
    lv_obj_add_style(lv_tabview_get_tab_bar(ui->screen_tabview_1), &style_screen_tabview_1_extra_btnm_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_tabview_1_extra_btnm_items_default
    static lv_style_t style_screen_tabview_1_extra_btnm_items_default;
    ui_init_style(&style_screen_tabview_1_extra_btnm_items_default);

    lv_style_set_text_color(&style_screen_tabview_1_extra_btnm_items_default, lv_color_hex(0x4d4d4d));
    lv_style_set_text_font(&style_screen_tabview_1_extra_btnm_items_default, &lv_font_montserratMedium_12);
    lv_style_set_text_opa(&style_screen_tabview_1_extra_btnm_items_default, 255);
    lv_obj_add_style(lv_tabview_get_tab_bar(ui->screen_tabview_1), &style_screen_tabview_1_extra_btnm_items_default, LV_PART_ITEMS | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_CHECKED for &style_screen_tabview_1_extra_btnm_items_checked
    static lv_style_t style_screen_tabview_1_extra_btnm_items_checked;
    ui_init_style(&style_screen_tabview_1_extra_btnm_items_checked);

    lv_style_set_text_color(&style_screen_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
    lv_style_set_text_font(&style_screen_tabview_1_extra_btnm_items_checked, &lv_font_montserratMedium_12);
    lv_style_set_text_opa(&style_screen_tabview_1_extra_btnm_items_checked, 255);
    lv_style_set_border_width(&style_screen_tabview_1_extra_btnm_items_checked, 4);
    lv_style_set_border_opa(&style_screen_tabview_1_extra_btnm_items_checked, 255);
    lv_style_set_border_color(&style_screen_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
    lv_style_set_border_side(&style_screen_tabview_1_extra_btnm_items_checked, LV_BORDER_SIDE_BOTTOM);
    lv_style_set_radius(&style_screen_tabview_1_extra_btnm_items_checked, 0);
    lv_style_set_bg_opa(&style_screen_tabview_1_extra_btnm_items_checked, 60);
    lv_style_set_bg_color(&style_screen_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
    lv_style_set_bg_grad_dir(&style_screen_tabview_1_extra_btnm_items_checked, LV_GRAD_DIR_NONE);
    lv_obj_add_style(lv_tabview_get_tab_bar(ui->screen_tabview_1), &style_screen_tabview_1_extra_btnm_items_checked, LV_PART_ITEMS | LV_STATE_CHECKED);

    // Write codes 景区地图
    ui->screen_tabview_1_tab_1 = lv_tabview_add_tab(ui->screen_tabview_1, "景区地图");
    lv_obj_t *screen_tabview_1_tab_1_label = lv_label_create(ui->screen_tabview_1_tab_1);
    lv_label_set_text(screen_tabview_1_tab_1_label, "");
    lv_obj_set_scrollbar_mode(ui->screen_tabview_1_tab_1, LV_SCROLLBAR_MODE_OFF);
    lv_obj_set_style_pad_all(ui->screen_tabview_1_tab_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_cont_2
    ui->screen_cont_2 = lv_obj_create(ui->screen_tabview_1_tab_1);
    lv_obj_set_pos(ui->screen_cont_2, 0, 0);
    lv_obj_set_size(ui->screen_cont_2, 800, 430);
    lv_obj_set_scrollbar_mode(ui->screen_cont_2, LV_SCROLLBAR_MODE_OFF);

    // Write style for screen_cont_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_cont_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_cont_2, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_cont_2, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_cont_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_cont_2, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_cont_2, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_cont_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_background
    ui->screen_background = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_background, 0, 0);
    lv_obj_set_size(ui->screen_background, 800, 430);
    lv_obj_add_flag(ui->screen_background, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_background, &_background_1_ARGB8888_800x430);
    lv_image_set_pivot(ui->screen_background, 50, 50);
    lv_image_set_rotation(ui->screen_background, 0);

    // Write style for screen_background, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_background, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_background, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_lanche
    ui->screen_lanche = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_lanche, 579, 120);
    lv_obj_set_size(ui->screen_lanche, 50, 50);
    lv_obj_add_flag(ui->screen_lanche, LV_OBJ_FLAG_CLICK_FOCUSABLE);
    lv_obj_add_flag(ui->screen_lanche, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_lanche, &_lanche_RGB565A8_50x50);
    lv_image_set_pivot(ui->screen_lanche, 50, 50);
    lv_image_set_rotation(ui->screen_lanche, 0);

    // Write style for screen_lanche, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_lanche, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_lanche, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_shang
    ui->screen_shang = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_shang, 711, 126);
    lv_obj_set_size(ui->screen_shang, 50, 50);
    lv_obj_add_flag(ui->screen_shang, LV_OBJ_FLAG_CLICK_FOCUSABLE);
    lv_obj_add_flag(ui->screen_shang, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_shang, &_shanmai_ARGB8888_50x50);
    lv_image_set_pivot(ui->screen_shang, 50, 50);
    lv_image_set_rotation(ui->screen_shang, 0);

    // Write style for screen_shang, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_shang, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_shang, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_people
    ui->screen_people = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_people, 326, 215);
    lv_obj_set_size(ui->screen_people, 50, 50);
    lv_obj_add_flag(ui->screen_people, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_people, &_peopple_ARGB8888_50x50);
    lv_image_set_pivot(ui->screen_people, 50, 50);
    lv_image_set_rotation(ui->screen_people, 0);

    // Write style for screen_people, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_people, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_people, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_chaoshi
    ui->screen_chaoshi = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_chaoshi, 50, 330);
    lv_obj_set_size(ui->screen_chaoshi, 50, 50);
    lv_obj_add_flag(ui->screen_chaoshi, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_chaoshi, &_chaoshi_ARGB8888_50x50);
    lv_image_set_pivot(ui->screen_chaoshi, 50, 50);
    lv_image_set_rotation(ui->screen_chaoshi, 0);

    // Write style for screen_chaoshi, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_chaoshi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_chaoshi, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_gonjiao
    ui->screen_gonjiao = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_gonjiao, 70, 183);
    lv_obj_set_size(ui->screen_gonjiao, 50, 50);
    lv_obj_add_flag(ui->screen_gonjiao, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_gonjiao, &_gonjiao_ARGB8888_50x50);
    lv_image_set_pivot(ui->screen_gonjiao, 50, 50);
    lv_image_set_rotation(ui->screen_gonjiao, 0);

    // Write style for screen_gonjiao, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_gonjiao, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_gonjiao, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_tingchechang
    ui->screen_tingchechang = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_tingchechang, 70, 250);
    lv_obj_set_size(ui->screen_tingchechang, 50, 50);
    lv_obj_add_flag(ui->screen_tingchechang, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_tingchechang, &_tingchechang_ARGB8888_50x50);
    lv_image_set_pivot(ui->screen_tingchechang, 50, 50);
    lv_image_set_rotation(ui->screen_tingchechang, 0);

    // Write style for screen_tingchechang, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_tingchechang, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_tingchechang, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_fangwu
    ui->screen_fangwu = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_fangwu, 256, 61);
    lv_obj_set_size(ui->screen_fangwu, 50, 50);
    lv_obj_add_flag(ui->screen_fangwu, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_fangwu, &_fangwu_RGB565A8_50x50);
    lv_image_set_pivot(ui->screen_fangwu, 50, 50);
    lv_image_set_rotation(ui->screen_fangwu, 0);

    // Write style for screen_fangwu, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_fangwu, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_fangwu, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_gushu
    ui->screen_gushu = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_gushu, 402, 50);
    lv_obj_set_size(ui->screen_gushu, 50, 50);
    lv_obj_add_flag(ui->screen_gushu, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_gushu, &_gushu_ARGB8888_50x50);
    lv_image_set_pivot(ui->screen_gushu, 50, 50);
    lv_image_set_rotation(ui->screen_gushu, 0);

    // Write style for screen_gushu, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_gushu, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_gushu, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_wifi
    ui->screen_wifi = lv_image_create(ui->screen_cont_2);
    lv_obj_set_pos(ui->screen_wifi, 579, 236);
    lv_obj_set_size(ui->screen_wifi, 50, 50);
    lv_obj_add_flag(ui->screen_wifi, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->screen_wifi, &_WIFI_ARGB8888_50x50);
    lv_image_set_pivot(ui->screen_wifi, 50, 50);
    lv_image_set_rotation(ui->screen_wifi, 0);

    // Write style for screen_wifi, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->screen_wifi, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->screen_wifi, 255, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_msgbox_1
    //  msgbox转至 events_init.c

    // Write codes screen_cont_1
    ui->screen_cont_1 = lv_obj_create(ui->screen_tabview_1_tab_1);
    lv_obj_set_pos(ui->screen_cont_1, 0, 0);
    lv_obj_set_size(ui->screen_cont_1, 180, 430);
    lv_obj_set_scrollbar_mode(ui->screen_cont_1, LV_SCROLLBAR_MODE_OFF);
    lv_obj_clear_flag(ui->screen_cont_1, LV_OBJ_FLAG_CLICKABLE); // 设置cont_1的点击穿透不会遮挡其下方的可点击组件

    // Write style for screen_cont_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_cont_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_menu_1
    ui->screen_menu_1 = lv_menu_create(ui->screen_cont_1);
    lv_obj_set_pos(ui->screen_menu_1, 0, 0);
    lv_obj_set_size(ui->screen_menu_1, 280, 430);
    lv_obj_set_scrollbar_mode(ui->screen_menu_1, LV_SCROLLBAR_MODE_OFF);
    lv_obj_add_flag(ui->screen_menu_1, LV_OBJ_FLAG_HIDDEN);

    // Create sidebar page for menu screen_menu_1
    ui->screen_menu_1_sidebar_page = lv_menu_page_create(ui->screen_menu_1, NULL);
    lv_menu_set_sidebar_page(ui->screen_menu_1, ui->screen_menu_1_sidebar_page);
    lv_obj_set_scrollbar_mode(ui->screen_menu_1_sidebar_page, LV_SCROLLBAR_MODE_OFF);

    // Create subpage for screen_menu_1
    lv_obj_t *screen_menu_1_subpage_1 = lv_menu_page_create(ui->screen_menu_1, NULL);
    ui->screen_menu_1_subpage_1_cont = lv_menu_cont_create(screen_menu_1_subpage_1);
    lv_obj_set_layout(ui->screen_menu_1_subpage_1_cont, LV_LAYOUT_NONE);
    ui->screen_menu_1_cont_1 = lv_menu_cont_create(ui->screen_menu_1_sidebar_page);
    ui->screen_menu_1_label_1 = lv_label_create(ui->screen_menu_1_cont_1);
    lv_label_set_text(ui->screen_menu_1_label_1, "景区");
    lv_obj_set_size(ui->screen_menu_1_label_1, LV_PCT(100), LV_SIZE_CONTENT);
    lv_label_set_long_mode(ui->screen_menu_1_label_1, LV_LABEL_LONG_CLIP);
    lv_obj_set_scrollbar_mode(screen_menu_1_subpage_1, LV_SCROLLBAR_MODE_OFF);
    lv_menu_set_load_page_event(ui->screen_menu_1, ui->screen_menu_1_cont_1, screen_menu_1_subpage_1);

    // Create subpage for screen_menu_1
    lv_obj_t *screen_menu_1_subpage_2 = lv_menu_page_create(ui->screen_menu_1, NULL);
    ui->screen_menu_1_subpage_2_cont = lv_menu_cont_create(screen_menu_1_subpage_2);
    lv_obj_set_layout(ui->screen_menu_1_subpage_2_cont, LV_LAYOUT_NONE);
    ui->screen_menu_1_cont_2 = lv_menu_cont_create(ui->screen_menu_1_sidebar_page);
    ui->screen_menu_1_label_2 = lv_label_create(ui->screen_menu_1_cont_2);
    lv_label_set_text(ui->screen_menu_1_label_2, "游乐设施");
    lv_obj_set_size(ui->screen_menu_1_label_2, LV_PCT(100), LV_SIZE_CONTENT);
    lv_label_set_long_mode(ui->screen_menu_1_label_2, LV_LABEL_LONG_CLIP);
    lv_obj_set_scrollbar_mode(screen_menu_1_subpage_2, LV_SCROLLBAR_MODE_OFF);
    lv_menu_set_load_page_event(ui->screen_menu_1, ui->screen_menu_1_cont_2, screen_menu_1_subpage_2);

    // Create subpage for screen_menu_1
    lv_obj_t *screen_menu_1_subpage_3 = lv_menu_page_create(ui->screen_menu_1, NULL);
    ui->screen_menu_1_subpage_3_cont = lv_menu_cont_create(screen_menu_1_subpage_3);
    lv_obj_set_layout(ui->screen_menu_1_subpage_3_cont, LV_LAYOUT_NONE);
    ui->screen_menu_1_cont_3 = lv_menu_cont_create(ui->screen_menu_1_sidebar_page);
    ui->screen_menu_1_label_3 = lv_label_create(ui->screen_menu_1_cont_3);
    lv_label_set_text(ui->screen_menu_1_label_3, "公共设施");
    lv_obj_set_size(ui->screen_menu_1_label_3, LV_PCT(100), LV_SIZE_CONTENT);
    lv_label_set_long_mode(ui->screen_menu_1_label_3, LV_LABEL_LONG_CLIP);
    lv_obj_set_scrollbar_mode(screen_menu_1_subpage_3, LV_SCROLLBAR_MODE_OFF);
    lv_menu_set_load_page_event(ui->screen_menu_1, ui->screen_menu_1_cont_3, screen_menu_1_subpage_3);

    // Write style for screen_menu_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_menu_1, 100, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_menu_1, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_menu_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_menu_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_menu_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_menu_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_margin_ver(ui->screen_menu_1_sidebar_page, 40, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_menu_1_sidebar_page, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_menu_1_sidebar_page, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_menu_1_sidebar_page, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_menu_1_extra_option_btns_main_default
    static lv_style_t style_screen_menu_1_extra_option_btns_main_default;
    ui_init_style(&style_screen_menu_1_extra_option_btns_main_default);

    lv_style_set_text_color(&style_screen_menu_1_extra_option_btns_main_default, lv_color_hex(0xffffff));
    lv_style_set_text_font(&style_screen_menu_1_extra_option_btns_main_default, &lv_font_montserratMedium_12);
    lv_style_set_text_opa(&style_screen_menu_1_extra_option_btns_main_default, 255);
    lv_style_set_text_align(&style_screen_menu_1_extra_option_btns_main_default, LV_TEXT_ALIGN_CENTER);
    lv_style_set_pad_top(&style_screen_menu_1_extra_option_btns_main_default, 10);
    lv_style_set_pad_bottom(&style_screen_menu_1_extra_option_btns_main_default, 10);
    lv_obj_add_style(ui->screen_menu_1_cont_3, &style_screen_menu_1_extra_option_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_menu_1_cont_2, &style_screen_menu_1_extra_option_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_menu_1_cont_1, &style_screen_menu_1_extra_option_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_CHECKED for &style_screen_menu_1_extra_option_btns_main_checked
    static lv_style_t style_screen_menu_1_extra_option_btns_main_checked;
    ui_init_style(&style_screen_menu_1_extra_option_btns_main_checked);

    lv_style_set_text_color(&style_screen_menu_1_extra_option_btns_main_checked, lv_color_hex(0x000000));
    lv_style_set_text_font(&style_screen_menu_1_extra_option_btns_main_checked, &lv_font_montserratMedium_12);
    lv_style_set_text_opa(&style_screen_menu_1_extra_option_btns_main_checked, 255);
    lv_style_set_text_align(&style_screen_menu_1_extra_option_btns_main_checked, LV_TEXT_ALIGN_CENTER);
    lv_style_set_border_width(&style_screen_menu_1_extra_option_btns_main_checked, 0);
    lv_style_set_radius(&style_screen_menu_1_extra_option_btns_main_checked, 0);
    lv_style_set_bg_opa(&style_screen_menu_1_extra_option_btns_main_checked, 100);
    lv_style_set_bg_color(&style_screen_menu_1_extra_option_btns_main_checked, lv_color_hex(0x000000));
    lv_style_set_bg_grad_dir(&style_screen_menu_1_extra_option_btns_main_checked, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_menu_1_cont_3, &style_screen_menu_1_extra_option_btns_main_checked, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_menu_1_cont_2, &style_screen_menu_1_extra_option_btns_main_checked, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_menu_1_cont_1, &style_screen_menu_1_extra_option_btns_main_checked, LV_PART_MAIN | LV_STATE_CHECKED);

    // Write style state: LV_STATE_DEFAULT for &style_screen_menu_1_extra_main_title_main_default
    static lv_style_t style_screen_menu_1_extra_main_title_main_default;
    ui_init_style(&style_screen_menu_1_extra_main_title_main_default);

    lv_style_set_text_color(&style_screen_menu_1_extra_main_title_main_default, lv_color_hex(0x41485a));
    lv_style_set_text_font(&style_screen_menu_1_extra_main_title_main_default, &lv_font_montserratMedium_14);
    lv_style_set_text_opa(&style_screen_menu_1_extra_main_title_main_default, 255);
    lv_style_set_text_align(&style_screen_menu_1_extra_main_title_main_default, LV_TEXT_ALIGN_LEFT);
    lv_style_set_bg_opa(&style_screen_menu_1_extra_main_title_main_default, 0);
    lv_menu_t *screen_menu_1_menu = (lv_menu_t *)ui->screen_menu_1;
    lv_obj_t *screen_menu_1_title = screen_menu_1_menu->sidebar_header_title;
    lv_obj_set_size(screen_menu_1_title, LV_PCT(100), LV_SIZE_CONTENT);
    lv_obj_add_style(lv_menu_get_sidebar_header(ui->screen_menu_1), &style_screen_menu_1_extra_main_title_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_btnm_1
    ui->screen_btnm_1 = lv_buttonmatrix_create(ui->screen_menu_1_subpage_1_cont);
    lv_obj_set_style_pad_all(ui->screen_menu_1_subpage_1_cont, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->screen_btnm_1, 0, 0);
    lv_obj_set_size(ui->screen_btnm_1, 90, 90);
    static const char *screen_btnm_1_text_map[] = {
        "景点1",
        "\n",
        "古树",
        ""};
    lv_buttonmatrix_set_map(ui->screen_btnm_1, screen_btnm_1_text_map);

    // Write style for screen_btnm_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    // lv_obj_set_style_border_color(ui->screen_btnm_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    // lv_obj_set_style_border_opa(ui->screen_btnm_1,100,LV_PART_MAIN | LV_STATE_DEFAULT);
    // lv_obj_set_style_border_side(ui->screen_btnm_1, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_TOP, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_row(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_column(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_btnm_1, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_btnm_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_btnm_1, 1, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_btnm_1, 100, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_btnm_1, lv_color_hex(0x000000), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_btnm_1, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_TOP, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_btnm_1, lv_color_hex(0xffffff), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_font_t *hei_font_14 = lv_freetype_font_create("/usr/share/fonts/simhei.ttf", LV_FREETYPE_FONT_RENDER_MODE_BITMAP, 14, LV_FREETYPE_FONT_STYLE_NORMAL);
    lv_obj_set_style_text_font(ui->screen_btnm_1, hei_font_14, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_btnm_1, 255, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btnm_1, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_1, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_btnm_1, lv_color_hex(0x2195f6), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_1, LV_GRAD_DIR_NONE, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_btnm_1, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    // 设置选中样式
    lv_obj_set_style_bg_color(ui->screen_btnm_1, lv_color_make(0, 0, 0), LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_color(ui->screen_btnm_1, lv_color_hex(0xf0f0f0), LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_1, LV_GRAD_DIR_HOR, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_1, 60, LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->screen_btnm_1, lv_color_make(0, 0, 0), LV_PART_ITEMS | LV_STATE_CHECKED);

    // Write codes screen_btnm_2
    ui->screen_btnm_2 = lv_buttonmatrix_create(ui->screen_menu_1_subpage_2_cont);
    lv_obj_set_style_pad_all(ui->screen_menu_1_subpage_2_cont, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->screen_btnm_2, 0, 0);
    lv_obj_set_size(ui->screen_btnm_2, 90, 45);
    static const char *screen_btnm_2_text_map[] = {
        "缆车",
        ""};
    lv_buttonmatrix_set_map(ui->screen_btnm_2, screen_btnm_2_text_map);

    // Write style for screen_btnm_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_row(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_column(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_btnm_2, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_2, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_btnm_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_btnm_2, 1, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_btnm_2, 100, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_btnm_2, lv_color_hex(0x000000), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_btnm_2, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_TOP, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_btnm_2, lv_color_hex(0xffffff), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_btnm_2, hei_font_14, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_btnm_2, 255, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btnm_2, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_2, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_btnm_2, lv_color_hex(0x2195f6), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_2, LV_GRAD_DIR_NONE, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_btnm_2, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    // 设置选中样式
    lv_obj_set_style_bg_color(ui->screen_btnm_2, lv_color_make(0, 0, 0), LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_color(ui->screen_btnm_2, lv_color_hex(0xf0f0f0), LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_2, LV_GRAD_DIR_HOR, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_2, 60, LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->screen_btnm_2, lv_color_make(0, 0, 0), LV_PART_ITEMS | LV_STATE_CHECKED);

    // Write codes screen_btnm_3
    ui->screen_btnm_3 = lv_buttonmatrix_create(ui->screen_menu_1_subpage_3_cont);
    lv_obj_set_style_pad_all(ui->screen_menu_1_subpage_3_cont, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->screen_btnm_3, 0, 0);
    lv_obj_set_size(ui->screen_btnm_3, 90, 225);
    static const char *screen_btnm_3_text_map[] = {
        "wifi",
        "\n",
        "公交",
        "\n",
        "停车场",
        "\n",
        "商店",
        "\n",
        "房屋",
        ""};
    lv_buttonmatrix_set_map(ui->screen_btnm_3, screen_btnm_3_text_map);

    // Write style for screen_btnm_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_row(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_column(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_btnm_3, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_3, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_btnm_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_btnm_3, 1, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_btnm_3, 100, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_btnm_3, lv_color_hex(0x000000), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_btnm_3, LV_BORDER_SIDE_BOTTOM | LV_BORDER_SIDE_TOP, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_btnm_3, lv_color_hex(0xffffff), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_btnm_3, hei_font_14, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_btnm_3, 255, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btnm_3, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_3, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_btnm_3, lv_color_hex(0x2195f6), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_3, LV_GRAD_DIR_NONE, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_btnm_3, 0, LV_PART_ITEMS | LV_STATE_DEFAULT);
    // 设置选中样式
    lv_obj_set_style_bg_color(ui->screen_btnm_3, lv_color_make(0, 0, 0), LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_color(ui->screen_btnm_3, lv_color_hex(0xf0f0f0), LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_bg_grad_dir(ui->screen_btnm_3, LV_GRAD_DIR_HOR, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_btnm_3, 60, LV_PART_ITEMS | LV_STATE_CHECKED);
    lv_obj_set_style_text_color(ui->screen_btnm_3, lv_color_make(0, 0, 0), LV_PART_ITEMS | LV_STATE_CHECKED);

    // Write codes screen_label_area_select
    ui->screen_label_area_select = lv_label_create(ui->screen_cont_1);
    lv_obj_set_pos(ui->screen_label_area_select, 0, 0);
    lv_obj_set_size(ui->screen_label_area_select, 40, 30);
    lv_obj_add_flag(ui->screen_label_area_select, LV_OBJ_FLAG_CLICKABLE);
    lv_label_set_text(ui->screen_label_area_select, "" LV_SYMBOL_BARS " ");
    lv_label_set_long_mode(ui->screen_label_area_select, LV_LABEL_LONG_WRAP);

    // Write style for screen_label_area_select, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_label_area_select, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_label_area_select, &lv_font_montserratMedium_30, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_label_area_select, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_label_area_select, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_label_area_select, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    //======================================================================================================公告
    // Write codes 公告
    ui->screen_tabview_1_tab_2 = lv_tabview_add_tab(ui->screen_tabview_1, "公告");
    lv_obj_t *screen_tabview_1_tab_2_label = lv_label_create(ui->screen_tabview_1_tab_2);
    lv_label_set_text(screen_tabview_1_tab_2_label, "");
    lv_obj_set_scrollbar_mode(ui->screen_tabview_1_tab_2, LV_SCROLLBAR_MODE_OFF);
    lv_obj_set_style_pad_all(ui->screen_tabview_1_tab_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_cont_3
    ui->screen_cont_3 = lv_obj_create(ui->screen_tabview_1_tab_2);
    lv_obj_set_pos(ui->screen_cont_3, 0, 0);
    lv_obj_set_size(ui->screen_cont_3, 800, 430);
    lv_obj_set_scrollbar_mode(ui->screen_cont_3, LV_SCROLLBAR_MODE_OFF);
    lv_obj_set_style_pad_all(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_margin_all(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_cont_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_cont_3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_cont_3, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_cont_3, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_cont_3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_cont_3, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_cont_3, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_cont_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_menu_2
    ui->screen_menu_2 = lv_menu_create(ui->screen_cont_3);
    lv_obj_set_pos(ui->screen_menu_2, 0, 0);
    lv_obj_set_size(ui->screen_menu_2, 800, 430);
    lv_obj_set_scrollbar_mode(ui->screen_menu_2, LV_SCROLLBAR_MODE_OFF);

    // Create sidebar page for menu screen_menu_2
    ui->screen_menu_2_sidebar_page = lv_menu_page_create(ui->screen_menu_2, NULL);
    lv_menu_set_sidebar_page(ui->screen_menu_2, ui->screen_menu_2_sidebar_page);
    lv_obj_set_scrollbar_mode(ui->screen_menu_2_sidebar_page, LV_SCROLLBAR_MODE_OFF);

    // Create subpage for screen_menu_2
    lv_obj_t *screen_menu_2_subpage_1 = lv_menu_page_create(ui->screen_menu_2, NULL);
    ui->screen_menu_2_subpage_1_cont = lv_menu_cont_create(screen_menu_2_subpage_1);
    lv_obj_set_layout(ui->screen_menu_2_subpage_1_cont, LV_LAYOUT_NONE);
    ui->screen_menu_2_cont_1 = lv_menu_cont_create(ui->screen_menu_2_sidebar_page);
    ui->screen_menu_2_label_1 = lv_label_create(ui->screen_menu_2_cont_1);
    lv_label_set_text(ui->screen_menu_2_label_1, "今日天气");
    lv_obj_set_size(ui->screen_menu_2_label_1, LV_PCT(50), LV_SIZE_CONTENT);
    lv_label_set_long_mode(ui->screen_menu_2_label_1, LV_LABEL_LONG_CLIP);
    lv_obj_set_scrollbar_mode(screen_menu_2_subpage_1, LV_SCROLLBAR_MODE_OFF);
    lv_menu_set_load_page_event(ui->screen_menu_2, ui->screen_menu_2_cont_1, screen_menu_2_subpage_1);

    // Create subpage for screen_menu_2
    lv_obj_t *screen_menu_2_subpage_2 = lv_menu_page_create(ui->screen_menu_2, NULL);
    ui->screen_menu_2_subpage_2_cont = lv_menu_cont_create(screen_menu_2_subpage_2);
    lv_obj_set_layout(ui->screen_menu_2_subpage_2_cont, LV_LAYOUT_NONE);
    lv_obj_set_size(ui->screen_menu_2_subpage_2_cont, 550, 430);
    ui->screen_menu_2_cont_2 = lv_menu_cont_create(ui->screen_menu_2_sidebar_page);
    ui->screen_menu_2_label_2 = lv_label_create(ui->screen_menu_2_cont_2);
    lv_label_set_text(ui->screen_menu_2_label_2, "风景介绍");
    lv_obj_set_size(ui->screen_menu_2_label_2, LV_PCT(100), LV_SIZE_CONTENT);
    lv_label_set_long_mode(ui->screen_menu_2_label_2, LV_LABEL_LONG_CLIP);
    lv_obj_set_scrollbar_mode(screen_menu_2_subpage_2, LV_SCROLLBAR_MODE_OFF);
    lv_menu_set_load_page_event(ui->screen_menu_2, ui->screen_menu_2_cont_2, screen_menu_2_subpage_2);

    // Create subpage for screen_menu_2
    lv_obj_t *screen_menu_2_subpage_3 = lv_menu_page_create(ui->screen_menu_2, NULL);
    ui->screen_menu_2_subpage_3_cont = lv_menu_cont_create(screen_menu_2_subpage_3);
    lv_obj_set_layout(ui->screen_menu_2_subpage_3_cont, LV_LAYOUT_NONE);
    lv_obj_set_size(ui->screen_menu_2_subpage_3_cont, 550, 430); // 确保键盘有位置放
    ui->screen_menu_2_cont_3 = lv_menu_cont_create(ui->screen_menu_2_sidebar_page);
    ui->screen_menu_2_label_3 = lv_label_create(ui->screen_menu_2_cont_3);
    lv_label_set_text(ui->screen_menu_2_label_3, "设置");
    lv_obj_set_size(ui->screen_menu_2_label_3, LV_PCT(100), LV_SIZE_CONTENT);
    lv_label_set_long_mode(ui->screen_menu_2_label_3, LV_LABEL_LONG_CLIP);
    lv_obj_set_scrollbar_mode(screen_menu_2_subpage_3, LV_SCROLLBAR_MODE_OFF);
    lv_menu_set_load_page_event(ui->screen_menu_2, ui->screen_menu_2_cont_3, screen_menu_2_subpage_3);

    // Create subpage for screen_menu_2
    lv_obj_t *screen_menu_2_subpage_4 = lv_menu_page_create(ui->screen_menu_2, NULL);
    ui->screen_menu_2_subpage_4_cont = lv_menu_cont_create(screen_menu_2_subpage_4);
    lv_obj_set_layout(ui->screen_menu_2_subpage_4_cont, LV_LAYOUT_NONE);
    ui->screen_menu_2_cont_4 = lv_menu_cont_create(ui->screen_menu_2_sidebar_page);
    ui->screen_menu_2_label_4 = lv_label_create(ui->screen_menu_2_cont_4);
    lv_label_set_text(ui->screen_menu_2_label_4, "通知");
    lv_obj_set_size(ui->screen_menu_2_label_4, LV_PCT(100), LV_SIZE_CONTENT);
    lv_label_set_long_mode(ui->screen_menu_2_label_4, LV_LABEL_LONG_CLIP);
    lv_obj_set_scrollbar_mode(screen_menu_2_subpage_4, LV_SCROLLBAR_MODE_OFF);
    lv_menu_set_load_page_event(ui->screen_menu_2, ui->screen_menu_2_cont_4, screen_menu_2_subpage_4);

    // Write style for screen_menu_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_menu_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_menu_2, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_menu_2, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_menu_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_menu_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_menu_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_menu_2_sidebar_page, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_menu_2_sidebar_page, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_menu_2_sidebar_page, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_menu_2_sidebar_page, lv_color_hex(0xf6f6f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_menu_2_sidebar_page, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_menu_2_extra_option_btns_main_default
    static lv_style_t style_screen_menu_2_extra_option_btns_main_default;
    ui_init_style(&style_screen_menu_2_extra_option_btns_main_default);

    lv_style_set_text_color(&style_screen_menu_2_extra_option_btns_main_default, lv_color_hex(0x151212));
    lv_style_set_text_font(&style_screen_menu_2_extra_option_btns_main_default, &lv_font_montserratMedium_12);
    lv_style_set_text_opa(&style_screen_menu_2_extra_option_btns_main_default, 255);
    lv_style_set_text_align(&style_screen_menu_2_extra_option_btns_main_default, LV_TEXT_ALIGN_CENTER);
    lv_style_set_pad_top(&style_screen_menu_2_extra_option_btns_main_default, 20);
    lv_style_set_pad_bottom(&style_screen_menu_2_extra_option_btns_main_default, 20);
    lv_obj_add_style(ui->screen_menu_2_cont_4, &style_screen_menu_2_extra_option_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_menu_2_cont_3, &style_screen_menu_2_extra_option_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_menu_2_cont_2, &style_screen_menu_2_extra_option_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_menu_2_cont_1, &style_screen_menu_2_extra_option_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_CHECKED for &style_screen_menu_2_extra_option_btns_main_checked
    static lv_style_t style_screen_menu_2_extra_option_btns_main_checked;
    ui_init_style(&style_screen_menu_2_extra_option_btns_main_checked);

    lv_style_set_text_color(&style_screen_menu_2_extra_option_btns_main_checked, lv_color_hex(0x000000));
    lv_style_set_text_font(&style_screen_menu_2_extra_option_btns_main_checked, &lv_font_montserratMedium_12);
    lv_style_set_text_opa(&style_screen_menu_2_extra_option_btns_main_checked, 255);
    lv_style_set_text_align(&style_screen_menu_2_extra_option_btns_main_checked, LV_TEXT_ALIGN_CENTER);
    lv_style_set_border_width(&style_screen_menu_2_extra_option_btns_main_checked, 0);
    lv_style_set_radius(&style_screen_menu_2_extra_option_btns_main_checked, 0);
    lv_style_set_bg_opa(&style_screen_menu_2_extra_option_btns_main_checked, 60);
    lv_style_set_bg_color(&style_screen_menu_2_extra_option_btns_main_checked, lv_color_hex(0x19a5ff));
    lv_style_set_bg_grad_dir(&style_screen_menu_2_extra_option_btns_main_checked, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_menu_2_cont_4, &style_screen_menu_2_extra_option_btns_main_checked, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_menu_2_cont_3, &style_screen_menu_2_extra_option_btns_main_checked, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_menu_2_cont_2, &style_screen_menu_2_extra_option_btns_main_checked, LV_PART_MAIN | LV_STATE_CHECKED);
    lv_obj_add_style(ui->screen_menu_2_cont_1, &style_screen_menu_2_extra_option_btns_main_checked, LV_PART_MAIN | LV_STATE_CHECKED);

    // Write style state: LV_STATE_DEFAULT for &style_screen_menu_2_extra_main_title_main_default
    static lv_style_t style_screen_menu_2_extra_main_title_main_default;
    ui_init_style(&style_screen_menu_2_extra_main_title_main_default);

    lv_style_set_text_color(&style_screen_menu_2_extra_main_title_main_default, lv_color_hex(0x41485a));
    lv_style_set_text_font(&style_screen_menu_2_extra_main_title_main_default, &lv_font_montserratMedium_14);
    lv_style_set_text_opa(&style_screen_menu_2_extra_main_title_main_default, 255);
    lv_style_set_text_align(&style_screen_menu_2_extra_main_title_main_default, LV_TEXT_ALIGN_CENTER);
    lv_style_set_bg_opa(&style_screen_menu_2_extra_main_title_main_default, 0);
    lv_menu_t *screen_menu_2_menu = (lv_menu_t *)ui->screen_menu_2;
    lv_obj_t *screen_menu_2_title = screen_menu_2_menu->sidebar_header_title;
    lv_obj_set_size(screen_menu_2_title, LV_PCT(100), LV_SIZE_CONTENT);
    lv_obj_add_style(lv_menu_get_sidebar_header(ui->screen_menu_2), &style_screen_menu_2_extra_main_title_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_menu_set_mode_header(ui->screen_menu_2, LV_MENU_HEADER_BOTTOM_FIXED);

    // 获取系统时间
    time_t rawtime;
    struct tm *info;
    char date_y_m_d[80];
    char date_time_h_m_s[80];
    time(&rawtime);
    info = gmtime(&rawtime);
    sprintf(date_y_m_d, "%d/%d/%d", 1900 + info->tm_year, 1 + info->tm_mon, info->tm_mday);
    sprintf(date_time_h_m_s, "%d:%d:%d", 8 + info->tm_hour, info->tm_min, info->tm_sec);
    printf("%s\n", date_y_m_d);
    printf("%s\n", date_time_h_m_s);

    // 数字时钟
    screen_digital_clock_1_min_value = info->tm_min;
    screen_digital_clock_1_hour_value = 8 + info->tm_hour;
    screen_digital_clock_1_sec_value = info->tm_sec;
    // screen_digital_clock_1_meridiem[] = "AM";
    // 模拟时钟
    screen_analog_clock_1_hour_value = 8 + info->tm_hour;
    screen_analog_clock_1_min_value = info->tm_min;
    screen_analog_clock_1_sec_value = info->tm_sec;

    // Write codes screen_datetext_1
    ui->screen_datetext_1 = lv_label_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->screen_datetext_1, 0, 0);
    lv_obj_set_size(ui->screen_datetext_1, 420, 100);
    lv_label_set_text(ui->screen_datetext_1, date_y_m_d);
    lv_obj_set_style_text_align(ui->screen_datetext_1, LV_TEXT_ALIGN_CENTER, 0);
    // lv_obj_add_flag(ui->screen_datetext_1, LV_OBJ_FLAG_CLICKABLE);
    // lv_obj_add_event_cb(ui->screen_datetext_1, screen_datetext_1_event_handler, LV_EVENT_ALL, NULL);

    // Write style for screen_datetext_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_datetext_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_datetext_1, &lv_font_Alatsi_Regular_22, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_datetext_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_datetext_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_datetext_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_datetext_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_datetext_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_datetext_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_datetext_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_datetext_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_datetext_1, 7, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_datetext_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_datetext_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_datetext_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_color(ui->screen_datetext_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_opa(ui->screen_datetext_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_spread(ui->screen_datetext_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_offset_x(ui->screen_datetext_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_offset_y(ui->screen_datetext_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_digital_clock_1
    static bool screen_digital_clock_1_timer_enabled = false;
    ui->screen_digital_clock_1 = lv_label_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->screen_digital_clock_1, 280, 0);
    lv_obj_set_size(ui->screen_digital_clock_1, 130, 32);
    // lv_label_set_text(ui->screen_digital_clock_1, "8:25:50 AM");
    if (!screen_digital_clock_1_timer_enabled)
    {
        lv_timer_create(screen_digital_clock_1_timer, 1000, NULL);
        screen_digital_clock_1_timer_enabled = true;
    }

    // Write style for screen_digital_clock_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_radius(ui->screen_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_digital_clock_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_digital_clock_1, &lv_font_Alatsi_Regular_25, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_digital_clock_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_digital_clock_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_digital_clock_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_digital_clock_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_digital_clock_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_digital_clock_1, 5, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_digital_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_analog_clock_1
    static bool screen_analog_clock_1_timer_enabled = false;
    static const char *screen_analog_clock_1_hour_ticks[] = {"12", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", NULL};
    ui->screen_analog_clock_1 = lv_scale_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->screen_analog_clock_1, 10, 5);
    lv_obj_set_size(ui->screen_analog_clock_1, 91, 91);
    lv_scale_set_mode(ui->screen_analog_clock_1, LV_SCALE_MODE_ROUND_INNER);
    lv_scale_set_angle_range(ui->screen_analog_clock_1, 360U);
    lv_scale_set_range(ui->screen_analog_clock_1, 0U, 60U);
    lv_scale_set_rotation(ui->screen_analog_clock_1, 270U);
    lv_obj_set_style_radius(ui->screen_analog_clock_1, LV_RADIUS_CIRCLE, LV_PART_MAIN);
    lv_obj_set_style_clip_corner(ui->screen_analog_clock_1, true, LV_PART_MAIN);
    lv_obj_set_style_arc_width(ui->screen_analog_clock_1, 0, LV_PART_MAIN);

    lv_scale_set_total_tick_count(ui->screen_analog_clock_1, 61);

    lv_scale_set_major_tick_every(ui->screen_analog_clock_1, 5);
    lv_scale_set_text_src(ui->screen_analog_clock_1, screen_analog_clock_1_hour_ticks);
    lv_obj_update_layout(ui->screen_analog_clock_1);
    ui->screen_analog_clock_1_hour_needle = lv_line_create(ui->screen_analog_clock_1);
    lv_obj_set_style_line_width(ui->screen_analog_clock_1_hour_needle, 4, LV_PART_MAIN);
    lv_obj_set_style_line_color(ui->screen_analog_clock_1_hour_needle, lv_color_hex(0x00ff00), LV_PART_MAIN);
    lv_obj_set_style_line_rounded(ui->screen_analog_clock_1_hour_needle, true, LV_PART_MAIN);
    if (screen_analog_clock_1_hour_value > 12)
    {
        screen_analog_clock_1_hour_value -= 12;
    }
    lv_scale_set_line_needle_value(ui->screen_analog_clock_1, ui->screen_analog_clock_1_hour_needle, 30, screen_analog_clock_1_hour_value * 5);
    ui->screen_analog_clock_1_min_needle = lv_line_create(ui->screen_analog_clock_1);
    lv_obj_set_style_line_width(ui->screen_analog_clock_1_min_needle, 3, LV_PART_MAIN);
    lv_obj_set_style_line_color(ui->screen_analog_clock_1_min_needle, lv_color_hex(0xE1FF00), LV_PART_MAIN);
    lv_obj_set_style_line_rounded(ui->screen_analog_clock_1_min_needle, true, LV_PART_MAIN);
    lv_scale_set_line_needle_value(ui->screen_analog_clock_1, ui->screen_analog_clock_1_min_needle, 40, screen_analog_clock_1_min_value);
    ui->screen_analog_clock_1_sec_needle = lv_line_create(ui->screen_analog_clock_1);
    lv_obj_set_style_line_width(ui->screen_analog_clock_1_sec_needle, 2, LV_PART_MAIN);
    lv_obj_set_style_line_color(ui->screen_analog_clock_1_sec_needle, lv_color_hex(0xE1FF00), LV_PART_MAIN);
    lv_obj_set_style_line_rounded(ui->screen_analog_clock_1_sec_needle, true, LV_PART_MAIN);
    lv_scale_set_line_needle_value(ui->screen_analog_clock_1, ui->screen_analog_clock_1_sec_needle, 60, screen_analog_clock_1_sec_value);
    // create timer
    if (!screen_analog_clock_1_timer_enabled)
    {
        lv_timer_create(screen_analog_clock_1_timer, 1000, NULL);
        screen_analog_clock_1_timer_enabled = true;
    }

    // Write style for screen_analog_clock_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_analog_clock_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_analog_clock_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_analog_clock_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_analog_clock_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_analog_clock_1, Part: LV_PART_INDICATOR, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_analog_clock_1, lv_color_hex(0x000000), LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_analog_clock_1, &lv_font_montserratMedium_14, LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_analog_clock_1, 255, LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_set_style_line_width(ui->screen_analog_clock_1, 2, LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_set_style_line_color(ui->screen_analog_clock_1, lv_color_hex(0x000000), LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_set_style_line_opa(ui->screen_analog_clock_1, 255, LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_set_style_line_rounded(ui->screen_analog_clock_1, true, LV_PART_INDICATOR | LV_STATE_DEFAULT);
    lv_obj_set_style_length(ui->screen_analog_clock_1, 10, LV_PART_INDICATOR | LV_STATE_DEFAULT);

    // Write style for screen_analog_clock_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
    lv_obj_set_style_line_width(ui->screen_analog_clock_1, 2, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_line_color(ui->screen_analog_clock_1, lv_color_hex(0x000000), LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_line_opa(ui->screen_analog_clock_1, 255, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_line_rounded(ui->screen_analog_clock_1, true, LV_PART_ITEMS | LV_STATE_DEFAULT);
    lv_obj_set_style_length(ui->screen_analog_clock_1, 6, LV_PART_ITEMS | LV_STATE_DEFAULT);

    // 天气模块 160 pso start

    ui->tianqi_label1 = lv_label_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->tianqi_label1, 200, 50);
    lv_label_set_text(ui->tianqi_label1, "晴天");
    lv_font_t *hei_font_20 = lv_freetype_font_create("/usr/share/fonts/simhei.ttf", LV_FREETYPE_FONT_RENDER_MODE_BITMAP, 20, LV_FREETYPE_FONT_STYLE_NORMAL);
    lv_obj_set_style_text_font(ui->tianqi_label1, hei_font_20, LV_STATE_DEFAULT);

    // 最低温度
    ui->tianqi_label2 = lv_label_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->tianqi_label2, 250, 50);
    lv_label_set_text(ui->tianqi_label2, "11");
    lv_obj_set_style_text_font(ui->tianqi_label2, hei_font_20, LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->tianqi_label2, lv_color_make(0, 0, 200), LV_STATE_DEFAULT);

    // 最高温度
    ui->tianqi_label3 = lv_label_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->tianqi_label3, 280, 60);
    lv_label_set_text(ui->tianqi_label3, "~");
    lv_obj_set_style_text_font(ui->tianqi_label3, hei_font_20, LV_STATE_DEFAULT);

    // 最高温度
    ui->tianqi_label4 = lv_label_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->tianqi_label4, 300, 50);
    lv_label_set_text(ui->tianqi_label4, "20");
    lv_obj_set_style_text_font(ui->tianqi_label4, hei_font_20, LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->tianqi_label4, lv_color_make(200, 0, 0), LV_STATE_DEFAULT);

    // Write codes screen_animimg_1
    ui->screen_animimg_1 = lv_animimg_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->screen_animimg_1, 5, 100);
    lv_obj_set_size(ui->screen_animimg_1, 400, 300);
    lv_animimg_set_src(ui->screen_animimg_1, (const void **)screen_animimg_1_imgs, 9);
    lv_animimg_set_duration(ui->screen_animimg_1, 50 * 9);
    lv_animimg_set_repeat_count(ui->screen_animimg_1, LV_ANIM_REPEAT_INFINITE);
    lv_animimg_start(ui->screen_animimg_1);

    // Write codes screen_list_1
    ui->screen_list_1 = lv_list_create(ui->screen_menu_2_subpage_1_cont);
    lv_obj_set_pos(ui->screen_list_1, 420, 100);
    lv_obj_set_size(ui->screen_list_1, 110, 300);
    lv_obj_set_scrollbar_mode(ui->screen_list_1, LV_SCROLLBAR_MODE_OFF);
    ui->screen_list_1_item0 = lv_list_add_button(ui->screen_list_1, &_1_0_RGB565A8_100x50, "");
    ui->screen_list_1_item1 = lv_list_add_button(ui->screen_list_1, &_2_0_RGB565A8_100x50, "");
    ui->screen_list_1_item2 = lv_list_add_button(ui->screen_list_1, &_3_0_RGB565A8_100x50, "");
    ui->screen_list_1_item3 = lv_list_add_button(ui->screen_list_1, &_4_0_RGB565A8_100x50, "");
    ui->screen_list_1_item4 = lv_list_add_button(ui->screen_list_1, &_5_0_RGB565A8_100x50, "");

    // Write style state: LV_STATE_DEFAULT for &style_screen_list_1_main_main_default
    static lv_style_t style_screen_list_1_main_main_default;
    ui_init_style(&style_screen_list_1_main_main_default);

    lv_style_set_pad_all(&style_screen_list_1_main_main_default, 0);
    lv_style_set_bg_opa(&style_screen_list_1_main_main_default, 255);
    lv_style_set_bg_color(&style_screen_list_1_main_main_default, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_list_1_main_main_default, LV_GRAD_DIR_NONE);
    lv_style_set_border_width(&style_screen_list_1_main_main_default, 1);
    lv_style_set_border_opa(&style_screen_list_1_main_main_default, 255);
    lv_style_set_border_color(&style_screen_list_1_main_main_default, lv_color_hex(0xe1e6ee));
    lv_style_set_border_side(&style_screen_list_1_main_main_default, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_list_1_main_main_default, 3);
    lv_style_set_shadow_width(&style_screen_list_1_main_main_default, 0);
    lv_obj_add_style(ui->screen_list_1, &style_screen_list_1_main_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_list_1_main_scrollbar_default
    static lv_style_t style_screen_list_1_main_scrollbar_default;
    ui_init_style(&style_screen_list_1_main_scrollbar_default);

    lv_style_set_radius(&style_screen_list_1_main_scrollbar_default, 3);
    lv_style_set_bg_opa(&style_screen_list_1_main_scrollbar_default, 255);
    lv_style_set_bg_color(&style_screen_list_1_main_scrollbar_default, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_list_1_main_scrollbar_default, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_list_1, &style_screen_list_1_main_scrollbar_default, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_list_1_extra_btns_main_default
    static lv_style_t style_screen_list_1_extra_btns_main_default;
    ui_init_style(&style_screen_list_1_extra_btns_main_default);

    lv_style_set_pad_top(&style_screen_list_1_extra_btns_main_default, 5);
    lv_style_set_pad_left(&style_screen_list_1_extra_btns_main_default, 5);
    lv_style_set_pad_right(&style_screen_list_1_extra_btns_main_default, 5);
    lv_style_set_pad_bottom(&style_screen_list_1_extra_btns_main_default, 5);
    lv_style_set_border_width(&style_screen_list_1_extra_btns_main_default, 0);
    lv_style_set_text_color(&style_screen_list_1_extra_btns_main_default, lv_color_hex(0x0D3055));
    lv_style_set_text_font(&style_screen_list_1_extra_btns_main_default, &lv_font_montserratMedium_30);
    lv_style_set_text_opa(&style_screen_list_1_extra_btns_main_default, 255);
    lv_style_set_radius(&style_screen_list_1_extra_btns_main_default, 0);
    lv_style_set_bg_opa(&style_screen_list_1_extra_btns_main_default, 255);
    lv_style_set_bg_color(&style_screen_list_1_extra_btns_main_default, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_list_1_extra_btns_main_default, LV_GRAD_DIR_NONE);
    lv_obj_add_style(ui->screen_list_1_item1, &style_screen_list_1_extra_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_list_1_item0, &style_screen_list_1_extra_btns_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_list_1_extra_texts_main_default
    static lv_style_t style_screen_list_1_extra_texts_main_default;
    ui_init_style(&style_screen_list_1_extra_texts_main_default);

    lv_style_set_pad_top(&style_screen_list_1_extra_texts_main_default, 5);
    lv_style_set_pad_left(&style_screen_list_1_extra_texts_main_default, 5);
    lv_style_set_pad_right(&style_screen_list_1_extra_texts_main_default, 5);
    lv_style_set_pad_bottom(&style_screen_list_1_extra_texts_main_default, 5);
    lv_style_set_border_width(&style_screen_list_1_extra_texts_main_default, 0);
    lv_style_set_text_color(&style_screen_list_1_extra_texts_main_default, lv_color_hex(0x0D3055));
    lv_style_set_text_font(&style_screen_list_1_extra_texts_main_default, &lv_font_montserratMedium_12);
    lv_style_set_text_opa(&style_screen_list_1_extra_texts_main_default, 255);
    lv_style_set_radius(&style_screen_list_1_extra_texts_main_default, 3);
    lv_style_set_transform_width(&style_screen_list_1_extra_texts_main_default, 0);
    lv_style_set_bg_opa(&style_screen_list_1_extra_texts_main_default, 255);
    lv_style_set_bg_color(&style_screen_list_1_extra_texts_main_default, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_list_1_extra_texts_main_default, LV_GRAD_DIR_NONE);

    // ========================================================================================风景介绍

    // Write codes screen_carousel_1
    ui->screen_carousel_1 = lv_carousel_create(ui->screen_menu_2_subpage_2_cont);
    lv_obj_set_style_pad_all(ui->screen_menu_2_subpage_2_cont, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_pos(ui->screen_carousel_1, 0, 0);
    lv_obj_set_size(ui->screen_carousel_1, 530, 430);
    lv_obj_set_scrollbar_mode(ui->screen_carousel_1, LV_SCROLLBAR_MODE_OFF);
    lv_carousel_set_element_width(ui->screen_carousel_1, 550);
    lv_obj_set_size(ui->screen_carousel_1, 550, 430);
    ui->screen_carousel_1_element_1 = lv_carousel_add_element(ui->screen_carousel_1, 0);
    ui->screen_carousel_1_element_2 = lv_carousel_add_element(ui->screen_carousel_1, 1);
    ui->screen_carousel_1_element_3 = lv_carousel_add_element(ui->screen_carousel_1, 2);

    // Write style for screen_carousel_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_carousel_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_carousel_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_carousel_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_carousel_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_carousel_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_carousel_1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_carousel_1, 0, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_carousel_1, 0, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_carousel_1_extra_element_items_default
    static lv_style_t style_screen_carousel_1_extra_element_items_default;
    ui_init_style(&style_screen_carousel_1_extra_element_items_default);

    lv_style_set_bg_opa(&style_screen_carousel_1_extra_element_items_default, 0);
    lv_style_set_outline_width(&style_screen_carousel_1_extra_element_items_default, 0);
    lv_style_set_border_width(&style_screen_carousel_1_extra_element_items_default, 0);
    lv_style_set_radius(&style_screen_carousel_1_extra_element_items_default, 5);
    lv_style_set_shadow_width(&style_screen_carousel_1_extra_element_items_default, 0);
    lv_obj_add_style(ui->screen_carousel_1_element_3, &style_screen_carousel_1_extra_element_items_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_carousel_1_element_2, &style_screen_carousel_1_extra_element_items_default, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_add_style(ui->screen_carousel_1_element_1, &style_screen_carousel_1_extra_element_items_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_FOCUSED for &style_screen_carousel_1_extra_element_items_focused
    static lv_style_t style_screen_carousel_1_extra_element_items_focused;
    ui_init_style(&style_screen_carousel_1_extra_element_items_focused);

    lv_style_set_bg_opa(&style_screen_carousel_1_extra_element_items_focused, 0);
    lv_style_set_outline_width(&style_screen_carousel_1_extra_element_items_focused, 0);
    lv_style_set_border_width(&style_screen_carousel_1_extra_element_items_focused, 0);
    lv_style_set_radius(&style_screen_carousel_1_extra_element_items_focused, 5);
    lv_style_set_shadow_width(&style_screen_carousel_1_extra_element_items_focused, 0);
    lv_obj_add_style(ui->screen_carousel_1_element_3, &style_screen_carousel_1_extra_element_items_focused, LV_PART_MAIN | LV_STATE_FOCUSED);
    lv_obj_add_style(ui->screen_carousel_1_element_2, &style_screen_carousel_1_extra_element_items_focused, LV_PART_MAIN | LV_STATE_FOCUSED);
    lv_obj_add_style(ui->screen_carousel_1_element_1, &style_screen_carousel_1_extra_element_items_focused, LV_PART_MAIN | LV_STATE_FOCUSED);

    ui->screen_carousel_1_element_1_img = lv_image_create(ui->screen_carousel_1_element_1);
    lv_obj_set_pos(ui->screen_carousel_1_element_1_img, 5, 0);
    lv_obj_set_size(ui->screen_carousel_1_element_1_img, 540, 280);
    lv_image_set_src(ui->screen_carousel_1_element_1_img, &_background_1_ARGB8888_800x430);

    ui->info_label1 = lv_label_create(ui->screen_carousel_1_element_1);
    lv_obj_set_pos(ui->info_label1, 5, 300);
    lv_obj_set_size(ui->info_label1, 540, 140);
    lv_label_set_text(ui->info_label1, "景区地图");

    ui->screen_carousel_1_element_2_img = lv_image_create(ui->screen_carousel_1_element_2);
    lv_obj_set_pos(ui->screen_carousel_1_element_2_img, 5, 0);
    lv_obj_set_size(ui->screen_carousel_1_element_2_img, 540, 280);
    lv_image_set_src(ui->screen_carousel_1_element_2_img, &lanche);

    ui->info_label2 = lv_label_create(ui->screen_carousel_1_element_2);
    lv_obj_set_pos(ui->info_label2, 5, 300);
    lv_obj_set_size(ui->info_label2, 540, 140);
    lv_label_set_text(ui->info_label2, "缆车");

    ui->screen_carousel_1_element_3_img = lv_image_create(ui->screen_carousel_1_element_3);
    lv_obj_set_pos(ui->screen_carousel_1_element_3_img, 5, 0);
    lv_obj_set_size(ui->screen_carousel_1_element_3_img, 540, 280);
    lv_image_set_src(ui->screen_carousel_1_element_3_img, &shang);

    ui->info_label3 = lv_label_create(ui->screen_carousel_1_element_3);
    lv_obj_set_pos(ui->info_label3, 5, 300);
    lv_obj_set_size(ui->info_label3, 540, 140);
    lv_label_set_text(ui->info_label3, "山");

    // ==========================================================================设置
    // Write codes screen_btn_2
    ui->screen_btn_2 = lv_button_create(ui->screen_menu_2_subpage_3_cont);
    lv_obj_set_pos(ui->screen_btn_2, 400, 240);
    lv_obj_set_size(ui->screen_btn_2, 100, 50);
    ui->screen_btn_2_label = lv_label_create(ui->screen_btn_2);
    lv_label_set_text(ui->screen_btn_2_label, "取消");
    lv_label_set_long_mode(ui->screen_btn_2_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->screen_btn_2_label, LV_ALIGN_CENTER, 30, 0);
    lv_obj_set_style_pad_all(ui->screen_btn_2, 0, LV_STATE_DEFAULT);
    lv_obj_set_width(ui->screen_btn_2_label, LV_PCT(100));

    // Write style for screen_btn_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_btn_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_btn_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btn_2, 25, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_btn_2, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_color(ui->screen_btn_2, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_opa(ui->screen_btn_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_spread(ui->screen_btn_2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_offset_x(ui->screen_btn_2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_offset_y(ui->screen_btn_2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_btn_2, lv_color_hex(0x191717), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_btn_2, &lv_font_montserratMedium_18, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_btn_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_btn_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_btn_1
    ui->screen_btn_1 = lv_button_create(ui->screen_menu_2_subpage_3_cont);
    lv_obj_set_pos(ui->screen_btn_1, 150, 240);
    lv_obj_set_size(ui->screen_btn_1, 100, 50);
    ui->screen_btn_1_label = lv_label_create(ui->screen_btn_1);
    lv_label_set_text(ui->screen_btn_1_label, "提交");
    lv_label_set_long_mode(ui->screen_btn_1_label, LV_LABEL_LONG_WRAP);
    lv_obj_align(ui->screen_btn_1_label, LV_ALIGN_CENTER, 30, 0);
    lv_obj_set_style_pad_all(ui->screen_btn_1, 0, LV_STATE_DEFAULT);
    lv_obj_set_width(ui->screen_btn_1_label, LV_PCT(100));

    // Write style for screen_btn_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_btn_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_btn_1, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_btn_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_btn_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_btn_1, 25, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_btn_1, 3, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_color(ui->screen_btn_1, lv_color_hex(0x0d4b3b), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_opa(ui->screen_btn_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_spread(ui->screen_btn_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_offset_x(ui->screen_btn_1, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_offset_y(ui->screen_btn_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_btn_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_btn_1, &lv_font_montserratMedium_18, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_btn_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_btn_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);

    lv_obj_add_event(ui->screen_btn_1, text_area_btn_handler, LV_EVENT_CLICKED, NULL);
    lv_obj_add_event(ui->screen_btn_2, text_area_btn_handler, LV_EVENT_CLICKED, NULL);

    // Write codes screen_ta_1
    ui->screen_ta_1 = lv_textarea_create(ui->screen_menu_2_subpage_3_cont);
    lv_obj_set_pos(ui->screen_ta_1, 120, 100);
    lv_obj_set_size(ui->screen_ta_1, 400, 100);
    // lv_textarea_set_text(ui->screen_ta_1, "Hello World");
    lv_textarea_set_placeholder_text(ui->screen_ta_1, "");
    lv_textarea_set_password_bullet(ui->screen_ta_1, "*");
    lv_textarea_set_password_mode(ui->screen_ta_1, false);
    lv_textarea_set_one_line(ui->screen_ta_1, false);
    lv_textarea_set_accepted_chars(ui->screen_ta_1, "");
    lv_textarea_set_max_length(ui->screen_ta_1, 32);

    ui->keyboard = lv_keyboard_create(ui->screen_menu_2_subpage_3_cont);
    lv_obj_add_event_cb(ui->screen_ta_1, ta_event_cb, LV_EVENT_ALL, ui->keyboard);
    lv_obj_add_flag(ui->keyboard, LV_OBJ_FLAG_HIDDEN);
    lv_obj_add_event_cb(ui->keyboard, text_area_btn_handler, LV_EVENT_READY, NULL);

    // Write style for screen_ta_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_ta_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_ta_1, &lv_font_montserratMedium_12, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_ta_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_ta_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_ta_1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_ta_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_ta_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_ta_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_ta_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_ta_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_ta_1, lv_color_hex(0xe6e6e6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_ta_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_ta_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_ta_1, 4, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_ta_1, 4, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_ta_1, 4, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_ta_1, 4, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style for screen_ta_1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->screen_ta_1, 255, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_ta_1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_ta_1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_ta_1, 0, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);

    // Write codes screen_label_2
    ui->screen_label_2 = lv_label_create(ui->screen_menu_2_subpage_3_cont);
    lv_obj_set_pos(ui->screen_label_2, 10, 100);
    lv_obj_set_size(ui->screen_label_2, 100, 32);
    lv_label_set_text(ui->screen_label_2, "提交意见");
    lv_label_set_long_mode(ui->screen_label_2, LV_LABEL_LONG_WRAP);

    // Write style for screen_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_label_2, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_label_2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_label_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_label_2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_ddlist_1
    ui->screen_ddlist_1 = lv_dropdown_create(ui->screen_menu_2_subpage_3_cont);
    lv_obj_set_pos(ui->screen_ddlist_1, 120, 10);
    lv_obj_set_size(ui->screen_ddlist_1, 130, 30);
    lv_dropdown_set_options(ui->screen_ddlist_1, "中文\nenglish");

    // Write style for screen_ddlist_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_text_color(ui->screen_ddlist_1, lv_color_hex(0x0D3055), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->screen_ddlist_1, hei_font_14, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_ddlist_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_ddlist_1, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_opa(ui->screen_ddlist_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_color(ui->screen_ddlist_1, lv_color_hex(0xe1e6ee), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_side(ui->screen_ddlist_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_ddlist_1, 8, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_ddlist_1, 6, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_ddlist_1, 6, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_ddlist_1, 3, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_ddlist_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_ddlist_1, lv_color_hex(0xffffff), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_ddlist_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_ddlist_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_CHECKED for &style_screen_ddlist_1_extra_list_selected_checked
    static lv_style_t style_screen_ddlist_1_extra_list_selected_checked;
    ui_init_style(&style_screen_ddlist_1_extra_list_selected_checked);
    lv_style_set_border_width(&style_screen_ddlist_1_extra_list_selected_checked, 1);
    lv_style_set_border_opa(&style_screen_ddlist_1_extra_list_selected_checked, 255);
    lv_style_set_border_color(&style_screen_ddlist_1_extra_list_selected_checked, lv_color_hex(0xe1e6ee));
    lv_style_set_border_side(&style_screen_ddlist_1_extra_list_selected_checked, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_ddlist_1_extra_list_selected_checked, 3);
    lv_style_set_bg_opa(&style_screen_ddlist_1_extra_list_selected_checked, 255);
    lv_style_set_bg_color(&style_screen_ddlist_1_extra_list_selected_checked, lv_color_hex(0x00a1b5));
    lv_style_set_bg_grad_dir(&style_screen_ddlist_1_extra_list_selected_checked, LV_GRAD_DIR_NONE);
    lv_obj_add_style(lv_dropdown_get_list(ui->screen_ddlist_1), &style_screen_ddlist_1_extra_list_selected_checked, LV_PART_SELECTED | LV_STATE_CHECKED);

    // Write style state: LV_STATE_DEFAULT for &style_screen_ddlist_1_extra_list_main_default
    static lv_style_t style_screen_ddlist_1_extra_list_main_default;
    ui_init_style(&style_screen_ddlist_1_extra_list_main_default);

    lv_style_set_max_height(&style_screen_ddlist_1_extra_list_main_default, 90);
    lv_style_set_text_color(&style_screen_ddlist_1_extra_list_main_default, lv_color_hex(0x0D3055));
    lv_style_set_text_font(&style_screen_ddlist_1_extra_list_main_default, hei_font_14);
    lv_style_set_text_opa(&style_screen_ddlist_1_extra_list_main_default, 255);
    lv_style_set_border_width(&style_screen_ddlist_1_extra_list_main_default, 1);
    lv_style_set_border_opa(&style_screen_ddlist_1_extra_list_main_default, 255);
    lv_style_set_border_color(&style_screen_ddlist_1_extra_list_main_default, lv_color_hex(0xe1e6ee));
    lv_style_set_border_side(&style_screen_ddlist_1_extra_list_main_default, LV_BORDER_SIDE_FULL);
    lv_style_set_radius(&style_screen_ddlist_1_extra_list_main_default, 3);
    lv_style_set_bg_opa(&style_screen_ddlist_1_extra_list_main_default, 255);
    lv_style_set_bg_color(&style_screen_ddlist_1_extra_list_main_default, lv_color_hex(0xffffff));
    lv_style_set_bg_grad_dir(&style_screen_ddlist_1_extra_list_main_default, LV_GRAD_DIR_NONE);
    lv_obj_add_style(lv_dropdown_get_list(ui->screen_ddlist_1), &style_screen_ddlist_1_extra_list_main_default, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write style state: LV_STATE_DEFAULT for &style_screen_ddlist_1_extra_list_scrollbar_default
    static lv_style_t style_screen_ddlist_1_extra_list_scrollbar_default;
    ui_init_style(&style_screen_ddlist_1_extra_list_scrollbar_default);

    lv_style_set_radius(&style_screen_ddlist_1_extra_list_scrollbar_default, 3);
    lv_style_set_bg_opa(&style_screen_ddlist_1_extra_list_scrollbar_default, 100);
    lv_style_set_bg_color(&style_screen_ddlist_1_extra_list_scrollbar_default, lv_color_hex(0x0f0f0f));
    lv_style_set_bg_grad_dir(&style_screen_ddlist_1_extra_list_scrollbar_default, LV_GRAD_DIR_NONE);
    lv_obj_add_style(lv_dropdown_get_list(ui->screen_ddlist_1), &style_screen_ddlist_1_extra_list_scrollbar_default, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);

    lv_obj_add_event_cb(ui->screen_ddlist_1, ddlist_event_handler, LV_EVENT_ALL, NULL);

    // Write codes screen_label_3
    ui->screen_label_3 = lv_label_create(ui->screen_menu_2_subpage_3_cont);
    lv_obj_set_pos(ui->screen_label_3, 10, 15);
    lv_obj_set_size(ui->screen_label_3, 100, 32);
    lv_label_set_text(ui->screen_label_3, "语言");
    lv_label_set_long_mode(ui->screen_label_3, LV_LABEL_LONG_WRAP);

    // Write style for screen_label_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_label_3, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_label_3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_label_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_label_3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_label_1
    ui->screen_label_1 = lv_label_create(ui->screen_menu_2_subpage_4_cont);
    lv_obj_set_pos(ui->screen_label_1, 0, 0);
    lv_obj_set_size(ui->screen_label_1, 530, 40);
    lv_label_set_text(ui->screen_label_1, "      欢迎来到翠峰山风景区                  您现在所处的位置是翠峰山风景区的入口，这里是探索自然美景和感受历史文化氛围的理想起点。");
    lv_label_set_long_mode(ui->screen_label_1, LV_LABEL_LONG_SCROLL_CIRCULAR);

    // Write style for screen_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->screen_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_label_1, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->screen_label_1, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->screen_label_1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->screen_label_1, 2, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->screen_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->screen_label_1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_label_1, 100, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_color(ui->screen_label_1, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_label_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->screen_label_1, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_label_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);

    // Write codes screen_table_1
    ui->screen_table_1 = lv_table_create(ui->screen_menu_2_subpage_4_cont);
    lv_obj_set_pos(ui->screen_table_1, 0, 50);
    lv_obj_set_size(ui->screen_table_1, 530, 350);
    lv_obj_set_scrollbar_mode(ui->screen_table_1, LV_SCROLLBAR_MODE_OFF);
    lv_table_set_column_count(ui->screen_table_1, 2);
    lv_table_set_column_width(ui->screen_table_1, 1, 400);
    lv_table_set_row_count(ui->screen_table_1, 10);
    lv_table_set_cell_value(ui->screen_table_1, 0, 0, "服务名称");
    lv_table_set_cell_value(ui->screen_table_1, 1, 0, "景区入口");
    lv_table_set_cell_value(ui->screen_table_1, 2, 0, "翠峰山自然");
    lv_table_set_cell_value(ui->screen_table_1, 3, 0, "千年古树");
    lv_table_set_cell_value(ui->screen_table_1, 4, 0, "缆车服务");
    lv_table_set_cell_value(ui->screen_table_1, 5, 0, "免费公共WiFi");
    lv_table_set_cell_value(ui->screen_table_1, 6, 0, "公共交通指南");
    lv_table_set_cell_value(ui->screen_table_1, 7, 0, "停车场服务");
    lv_table_set_cell_value(ui->screen_table_1, 8, 0, "24小时便利店");
    lv_table_set_cell_value(ui->screen_table_1, 9, 0, "舒适住宿");

    lv_table_set_cell_value(ui->screen_table_1, 0, 1, "详细介绍");
    lv_table_set_cell_value(ui->screen_table_1, 1, 1, "开放时间：全年全天开放。门票价格：10元人民币。");
    lv_table_set_cell_value(ui->screen_table_1, 2, 1, "无附加收费");
    lv_table_set_cell_value(ui->screen_table_1, 3, 1, "无附加收费");
    lv_table_set_cell_value(ui->screen_table_1, 4, 1, "服务时间：根据景区开放时间而定。收费标准：单程票价10元人民币。");
    lv_table_set_cell_value(ui->screen_table_1, 5, 1, "服务时间：24小时。费用：免费。SSID: Cuifengshan_Free；密码: 'welcome2025'。");
    lv_table_set_cell_value(ui->screen_table_1, 6, 1, "早 7:00 - 晚 10:30");
    lv_table_set_cell_value(ui->screen_table_1, 7, 1, "服务时间：与景区开放时间一致。收费标准：免费停车，遵循先到先得的原则。");
    lv_table_set_cell_value(ui->screen_table_1, 8, 1, "服务时间：24小时。费用：根据商品种类不同而变化。提供免费热水。");
    lv_table_set_cell_value(ui->screen_table_1, 9, 1, "服务时间：入住时间为下午2点后，退房时间为中午12点前。收费标准：每晚50元人民币。");

    // Write style for screen_table_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_pad_top(ui->screen_table_1, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->screen_table_1, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->screen_table_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->screen_table_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->screen_table_1, 100, LV_PART_MAIN | LV_STATE_DEFAULT);
    // lv_obj_set_style_bg_color(ui->screen_table_1, lv_color_hex(0x2195f6), LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_bg_grad_dir(ui->screen_table_1, LV_GRAD_DIR_NONE, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_border_width(ui->screen_table_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->screen_table_1, 20, LV_PART_MAIN | LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->screen_table_1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
    // Write style for screen_table_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.

    lv_obj_set_style_text_font(ui->screen_table_1, hei_font_14, LV_PART_ITEMS | LV_STATE_DEFAULT);

    lv_obj_add_event_cb(ui->screen_table_1, draw_event_cb, LV_EVENT_DRAW_TASK_ADDED, NULL);
    lv_obj_add_flag(ui->screen_table_1, LV_OBJ_FLAG_SEND_DRAW_TASK_EVENTS);
    // The custom code of screen.

    // Update current screen layout.
    lv_obj_update_layout(ui->screen);

    // Init events for screen.
    events_init_screen(ui);

    events_init_msg(ui);

    events_init_btnm(ui);

    screen_init_list_btn(ui);
}
